﻿@model Entity.Genre
@{
    ViewBag.Title = "Music Store";
}
<div>
    <h4><em>@Model.Name Genre</em></h4>
    <hr />
    <ul class="album-list">
        @foreach (var album in Model.Albums)
        {
            <li>
                <a href="@Url.Action("Details", new { id = album.Id })">
                    <img alt="@album.Title" src="@album.ArtUrl" />
                    <span>@album.Title</span>
                </a>
            </li>
        }
    </ul>

</div>


